export interface PageParams {
    pageNum: number;
    pageSize?: number;
}
export interface ResultData<T = any> {
    list: T[];
    page: {
        pageNum: number;
        pageSize: number;
        total: number | 0;
    };
}

export namespace User {
    export interface Params extends PageParams {
        userId?: number;
        userName?: string;
        state?: number;
    }
    export interface UserItem {
        createId: number;
        deptId: string;
        deptName: string;
        job: string;
        mobile: string;
        role: number;
        roleList: any[];
        state: number;
        userEmail: string;
        userId: number;
        userImg: string;
        userName: string;
        _id: string;
    }
}



export interface IuseRouterData{
    name:string;
}